﻿@model HotelManageSystem.Models.InsureModel
@using System.Collections.Concurrent
<script src="@Url.Content("~/Scripts/jquery-1.7.1.min.js")" type="text/javascript"> </script>
<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"> </script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"> </script>
<link href= "@Url.Content("~/Content/TelerikGrid.css")"rel="stylesheet" type="text/css" />
<style>
    input
    {
        height: 23px;
        width: 90%;
    }
</style>
<script type="text/javascript">
   
</script>
<div class="t-widget t-grid" style="width: 100%; height: 100%">
    @using (Html.BeginForm("Save", "Insure", FormMethod.Post))
    {
        @Html.ValidationSummary(true)
        <div class="t-edit-form-container" style="width: 100%;">
            <fieldset style="width: 100%; border: 0px;">
                <legend style="font-size: 20px;">五险一金系数设置：</legend>
                <table>
                    <tr>
                        <td>
                            <div class="editor-label">
                                @Html.LabelFor(model => model.EndowmentAssurance)
                            </div>
                            <div class="editor-field">
                                @Html.EditorFor(model => model.EndowmentAssurance)
                                @Html.ValidationMessageFor(model => model.EndowmentAssurance)
                            </div>
                        </td>
                        <td>
                            <div class="editor-label">
                                @Html.LabelFor(model => model.MedicalInsurance)
                            </div>
                            <div class="editor-field">
                                @Html.EditorFor(model => model.MedicalInsurance)
                                @Html.ValidationMessageFor(model => model.MedicalInsurance)
                            </div>
                        </td>
                        <td>
                            <div class="editor-label">
                                @Html.LabelFor(model => model.UnemploymentInsurance)
                            </div>
                            <div class="editor-field">
                                @Html.EditorFor(model => model.UnemploymentInsurance)
                                @Html.ValidationMessageFor(model => model.UnemploymentInsurance)
                            </div>
                        </td>
                    </tr>
                     <tr>
                        <td>
                            <div class="editor-label">
                                @Html.LabelFor(model => model.EmploymentInjuryInsurance)
                            </div>
                            <div class="editor-field">
                                @Html.EditorFor(model => model.EmploymentInjuryInsurance)
                                @Html.ValidationMessageFor(model => model.EmploymentInjuryInsurance)
                            </div>
                        </td>
                        <td>
                            <div class="editor-label">
                                @Html.LabelFor(model => model.MaternityInsurance)
                            </div>
                            <div class="editor-field">
                                @Html.EditorFor(model => model.MaternityInsurance)
                                @Html.ValidationMessageFor(model => model.MaternityInsurance)
                            </div>
                        </td>
                        <td>
                            <div class="editor-label">
                                @Html.LabelFor(model => model.ProvidentFund)
                            </div>
                            <div class="editor-field">
                                @Html.EditorFor(model => model.ProvidentFund)
                                @Html.ValidationMessageFor(model => model.ProvidentFund)
                            </div>
                        </td>
                    </tr>
                </table>
                <p>
                    <input type="submit" value="保存" style="height: 23px; width: 5%;" />
                </p>
            </fieldset>
        </div>
    }
</div>
